home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-01-25 | 8.0 KB | 194 lines |
- #
- # Config.mk --
- #
- # Master configuration file for Extended Tcl. This should be the only
- # file you have to modify to get Extended Tcl to work. It is used to
- # set attributes that configure can't figure out and to override certain
- # attributes set by configure.
- #
- # All the values in this directory are set to reasonable defaults. You might
- # want to tune them to your taste. You may set the value of "CC" and "CFLAGS"
- # in the file or on the make command line or set them. For example:
- #
- # make -k CC=gcc CFLAGS=-O
- #
- #------------------------------------------------------------------------------
- # Copyright 1992-1993 Karl Lehenbauer and Mark Diekhans.
- #
- # Permission to use, copy, modify, and distribute this software and its
- # documentation for any purpose and without fee is hereby granted, provided
- # that the above copyright notice appear in all copies. Karl Lehenbauer and
- # Mark Diekhans make no representations about the suitability of this
- # software for any purpose. It is provided "as is" without express or
- # implied warranty.
- #------------------------------------------------------------------------------
- # $Id: Config.mk,v 3.1 1993/11/25 03:21:14 markd Exp $
- #------------------------------------------------------------------------------
-
- #------------------------------------------------------------------------------
- # READ THIS FIRST: FILE PATH SPECIFICATION RULES.
- #------------------------------------------------------------------------------
- # All paths to files outside of the distribution MUST follow these rules.
- # The rules make it easy to specify locations of files either relative to
- # the source or build directories or or as absolute directories. If these
- # rules are not followed, it will not build. All values are defaulted to
- # reasonable locations. If UCB tcl and Tk are in directories that are
- # siblings of the TclX source directory, things will probably work just find.
- #
- # File paths MUST be one of:
- #
- # o Absolute paths (starting with /), e.g. /usr/local/lib/libtcl.a
- # o Paths relative to the source directory make macro ${srcbasedir}, e.g.
- # $(srcbasedir)/../tk3.6
- # o Paths relative to the build directory make macro ${bldbasedir}, e.g.
- # ${bldbasedir}/../tk3.6/libtk.a
- #------------------------------------------------------------------------------
-
- #------------------------------------------------------------------------------
- # The directory containing the UCB Tcl library (libtcl.a) and the UCB Tcl
- # source distribution directory. They default to the same directory.
-
- TCL_UCB_LIB=${bldbasedir}/../tcl7.3
- TCL_UCB_SRC=${srcbasedir}/../tcl7.3
-
- #------------------------------------------------------------------------------
- # If you are a Tk user and would like to build a version "wish", the Tk shell,
- # that includes the TclX command set, define TK_BUILD=WISHX. Also define the
- # the directory containing the UCB Tk library (libtk.a) and the UCB Tk source
- # distribution directory.
-
- TK_BUILD=WISHX
- TK_UCB_LIB=${bldbasedir}/../tk3.6p1
- TK_UCB_SRC=${srcbasedir}/../tk3.6p1
-
- #------------------------------------------------------------------------------
- # Compiler debug/optimization/profiling flag to use. Also a macro that
- # controls if the binaries will be stripped. Specify `true' if the binary is
- # to be stripped (optimized case) or specify `false' if the binary is not to be
- # stripped (debugging case). Note that if debugging or profiling is enabled,
- # the DO_STRIPPING option must be disabled.
-
- CFLAGS=-O2
- DO_STRIPPING=false
- #DO_STRIPPING=true
-
- #------------------------------------------------------------------------------
- # Definition of the compiler, ar and yacc program you wish to use.
- #
-
- #CC=cc
- AR=ar
- #YACC=yacc
- YACC=bison -b y
-
- #------------------------------------------------------------------------------
- # X is often in strange places, override what configure figured out if
- # its wrong.
-
- #XINCLUDES=-I/usr/somewhere/include
- #XLIBSW=-L/usr/somewhere/lib -lX11
-
- #------------------------------------------------------------------------------
- # EXtra flags:
- # o XCFLAGS - Extra compiler flags on all compiles and links
- # o XLDFLAGS - Extra compiler flags to specify at link time.
- # o XLDLIBS - Extra libraries to use at link time.
-
- XCFLAGS=
- XLDFLAGS=
- XLDLIBS=-lieee
-
- #------------------------------------------------------------------------------
- # If C++ is to be used these should be set. Specifying TCL_PLUS_BUILD
- # includes the C++ support code in the Tcl library. CCPLUS is the command to
- # run your C++ compiler.
-
- #TCL_PLUS_BUILD=TCL_PLUS
- CCPLUS=CC
-
- #------------------------------------------------------------------------------
- # The master Tcl directory that the Extended Tcl runtime files are installed
- # into. All files are installed in this directory, then symbolic links are
- # built from the outside. A directory whose name is the TclX version number
- # will be built in this directory.
- #
- TCL_MASTERDIR=${prefix}/lib/tclX
-
- #------------------------------------------------------------------------------
- # The master Tk directory that the Tk runtime files are installed into.
- # All files are installed in this directory, then symbolic links are
- # built from the outside. A directory whose name is the TkX version number
- # will be built in this directory.
-
- TK_MASTERDIR=${prefix}/X386/lib/X11/tkX
-
- #------------------------------------------------------------------------------
- # # The directory to install the tcl, wishx and tclhelp binaries into.
-
- TCL_BINDIR=${exec_prefix}/bin
- TK_BINDIR=${exec_prefix}/X386/bin
-
- #------------------------------------------------------------------------------
- # The directory to install the libtcl.a and libtclx.a libraries into.
-
- TCL_LIBDIR=${exec_prefix}/lib
- TK_LIBDIR=${exec_prefix}/X386/lib
-
- #------------------------------------------------------------------------------
- # The directory the Tcl .h files go into.
-
- TCL_INCLUDEDIR=${prefix}/include/tcl
-
- #==============================================================================
- # These defines specify where and how the manual pages are to be installed.
- # Since there are so many manual pages provided, they are placed together in
- # one Tcl manual page directory by default, rather than splitting into the
- # standard manual pages directories. You might want to modify these values.
- #..............................................................................
-
- #------------------------------------------------------------------------------
- # o TCL_MAN_BASEDIR - Base manual directory where all of the man* and cat*
- # directories live.
-
- TCL_MAN_BASEDIR=${prefix}/man
-
- #------------------------------------------------------------------------------
- # o TCL_MAN_CMD_SECTION - Section for Tcl command manual pages. Normal `1' or
- # `C'. You might perfer TCL since there are some many.
- #
- # o TCL_MAN_FUNC_SECTION - Section for Tcl C level function manual pages.
- # In some cases it might be desirable install all manual pages in one
- # section. In this case, the value should be the same as TCL_MAN_CMD_SECTION.
-
- #TCL_MAN_CMD_SECTION=TCL
- #TCL_MAN_FUNC_SECTION=TCL
- TCL_MAN_CMD_SECTION=n
- TCL_MAN_FUNC_SECTION=3
-
- #------------------------------------------------------------------------------
- # o TK_MAN_CMD_SECTION - Section for Tk command manual pages. Normal `1' or
- # `C'. You might perfer TK since there are some many.
- #
- # o TK_MAN_UNIXCMD_SECTION - Section for Tk Unix commands (the wish program)
- # manual pages. Normal `1' or `C'.
- #
- # o TK_MAN_FUNC_SECTION - Section for Tk C level function manual pages.
- # In some cases it might be desirable install all manual pages in one
- # section. In this case, the value should be the same as TK_MAN_CMD_SECTION.
-
- #TK_MAN_CMD_SECTION=TK
- #TK_MAN_UNIXCMD_SECTION=TK
- #TK_MAN_FUNC_SECTION=TK
- TK_MAN_CMD_SECTION=n
- TK_MAN_UNIXCMD_SECTION=1
- TK_MAN_FUNC_SECTION=3
-
-
- #------------------------------------------------------------------------------
- # o MAN_DIR_SEPARATOR - The separator character used in the directory name
- # of the cat* and man* manual directories. This is usually empty or
- # a period. i.e "/usr/man/man1" or "/usr/man/man.1". Autoconf attempts to
- # determine it but it can be overridden here.
-
- #MAN_DIR_SEPARATOR=.
-